package wt.dao.business;

import base.IBaseMapperWithoutBLOBs;
import org.apache.ibatis.annotations.Param;
import wt.entity.business.InspectorAssess;
import wt.entity.business.InspectorAssessExample;

import java.util.Date;
import java.util.List;

public interface InspectorAssessMapper extends IBaseMapperWithoutBLOBs<InspectorAssess,InspectorAssessExample> {




    /**
     * 管理员/专家  查询专家历史评价的业务
     * @param checkStartTime  核查开始时间
     * @param checkEndTime  核查结束时间
     * @param companyName
     * @param productName
     * @param fromInspectorName   专家   查询时该项为null
     * @param expertId            管理员 查询时该项为null
     * @param toInspectorName
     * @return
     * @throws Exception
     */
    List<InspectorAssess> selectInspectorAssessHistory(
            @Param("checkStartTime") Date checkStartTime,
            @Param("checkEndTime") Date checkEndTime,
            @Param("companyName") String companyName,
            @Param("productName") String productName,
            @Param("fromInspectorName")String fromInspectorName,
            @Param("expertId")String expertId,
            @Param("toInspectorName")String toInspectorName
    ) throws Exception;




}